package com.orcwar.enums;

/**
 * Direction.
 * @author Callil
 *
 */
public enum DirectionEnum {
	LEFT(-90),
	RIGHT(90),
	UP(0),
	DOWN(180),
	
	UP_LEFT(-45),
	UP_RIGHT(45),
	DOWN_LEFT(-135),
	DOWN_RIGHT(135);
	
	private float angle;
	
	DirectionEnum(float angle) {
		this.setAngle(angle);
	}

	/**
	 * @return the angle
	 */
	public float getAngle() {
		return angle;
	}

	/**
	 * @param angle the angle to set
	 */
	public void setAngle(float angle) {
		this.angle = angle;
	}
}
